<?php
namespace Todo\Service;

/**
 * 导出服务
 * Created by PhpStorm.
 * User: yepanpan
 * Date: 2016/8/8
 * Time: 17:08
 */
class ExportService extends BaseService
{
    private static $__INSTANCE = null;

    public static function getInstance(){
        if(!self::$__INSTANCE) self::$__INSTANCE = new ExportService();

        return self::$__INSTANCE;
    }

    /**
     * 导出数据
     * @param string $model 模型
     * @param array $where 查询条件
     * @param $field 要导出的字段
     */
    public function export($model, $where, $field){
        die('haha');
    }
}